<?php
namespace AuctionCore\Account;


/**
* 员工后台帐号 测试类
* @author       爱民
*/
class AccountTest extends \PHPUnit_Framework_TestCase
{

	

	public function testBackAccountCreate(){
		//创建后台用户	[用户名，密码,昵称,手机号]
		$user_info = array();
		$user_info['username'] = 'test';
		$user_info['passwd'] = 'cccccc';
		$user_info['real_name'] = 'test_nick_name';
		$user_info['mobile'] = '13552528384';
		$user_id = \AuctionBack\BackAccount::create($user_info);
		$this->assertTrue(intval($user_id)>0);
	}




}

?>